package com.ruoyi.system.mapper;

import com.ruoyi.common.core.domain.entity.Warning;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: ruohao
 * @Date: 2023/9/14
 **/
public interface WarningMapper {
    public Warning selectById(Long id);
    public List<Warning> selectList(Warning warning);
    public int insert(Warning warning);
    public int update(Warning warning);
    public int deleteById(Long id);

    List<Warning> selectFiveList();
    Integer selectListCount(@Param("startTime") String startTime, @Param("endTime") String endTime, @Param("type") String type);
    List<Warning> selectTenList(Warning warning);

    List<Warning> selectListWarning();
}
